import React, { Component } from 'react';
import { InputItem } from 'antd-mobile';
import axios from 'axios';

class App extends Component {
  render() {
    return (
      <div className="App">
          <InputItem></InputItem>
      </div>
    );
  }

  componentDidMount () {
    axios.get('/data')
        .then(({data}) => {
            console.log(data)
      })
  }

}

export default App;
